package model;

import java.util.Date;

public class SystemDate {
	private static SystemDate unique;
	private Date date;

	public static synchronized SystemDate getInstance() {
		if (unique == null)
			unique = new SystemDate();
		return unique;
	}

	private SystemDate() {
		date = new Date();
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
}
